package com.bzkj.document.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;
import java.util.HashMap;

/**
 * @projectName: prt-wms
 * @package: com.bzkj.document.domain
 * @className: BaseBillDetail
 * @description: 单据明细通用信息
 * @author: C1309
 * @createDate: 2025年04月14日
 * @version: v1.0
 */
public class BaseBillDetail {
    private String cgeneralbid;
    private String vbillcode;
    private Double nshouldassistnum;
    private Double nshouldnum;
    private String vchangerate;
    private Double nassistnum;
    private Double nnum;
    private String crowno;
    private String cstateid;
    private String vbatchcode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date dproducedate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date dvalidate;
    @JsonProperty("pk_batchcode")
    @JSONField(name = "pk_batchcode")
    private String pkBatchcode;
    private String vbdef48;
    private String vbdef49;
    private String vbdef50;
    private String skuState;
    private String skuFlag;
    private String operator;
    private HashMap<String, Object> additionMap;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date operatTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date dbizdate;
    private String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JSONField(name = "cmaterialvid")
    @JsonProperty("cmaterialvid")
    private BaseInfoMap cmaterialvid;
    @JSONField(name = "cmaterialoid")
    @JsonProperty("cmaterialoid")
    private BaseInfoMap cmaterialoid;
    @JSONField(name = "castunitid")
    @JsonProperty("castunitid")
    private BaseInfoMap castunitid;
    @JSONField(name = "cunitid")
    @JsonProperty("cunitid")
    private BaseInfoMap cunitid;
    @JSONField(name = "cproductorid")
    @JsonProperty("cproductorid")
    private BaseInfoMap cproductorid;
    @JSONField(name = "vmanufacturer_148")
    @JsonProperty("vmanufacturer_148")
    private BaseInfoMap vmanufacturer148;

    @JSONField(name = "cwarehouseid")
    @JsonProperty("cwarehouseid")
    private BaseInfoMap cwarehouseid;

    @JSONField(name = "skuUnitCode")
    @JsonProperty("skuUnitCode")
    private String skuUnitCode;

    public String getCgeneralbid() {
        return cgeneralbid;
    }

    public void setCgeneralbid(String cgeneralbid) {
        this.cgeneralbid = cgeneralbid;
    }

    public String getVbillcode() {
        return vbillcode;
    }

    public void setVbillcode(String vbillcode) {
        this.vbillcode = vbillcode;
    }

    public Double getNshouldassistnum() {
        return nshouldassistnum;
    }

    public void setNshouldassistnum(Double nshouldassistnum) {
        this.nshouldassistnum = nshouldassistnum;
    }

    public Double getNshouldnum() {
        return nshouldnum;
    }

    public void setNshouldnum(Double nshouldnum) {
        this.nshouldnum = nshouldnum;
    }

    public String getVchangerate() {
        return vchangerate;
    }

    public void setVchangerate(String vchangerate) {
        this.vchangerate = vchangerate;
    }

    public Double getNassistnum() {
        return nassistnum;
    }

    public void setNassistnum(Double nassistnum) {
        this.nassistnum = nassistnum;
    }

    public Double getNnum() {
        return nnum;
    }

    public void setNnum(Double nnum) {
        this.nnum = nnum;
    }

    public String getCrowno() {
        return crowno;
    }

    public void setCrowno(String crowno) {
        this.crowno = crowno;
    }

    public String getCstateid() {
        return cstateid;
    }

    public void setCstateid(String cstateid) {
        this.cstateid = cstateid;
    }

    public String getVbatchcode() {
        return vbatchcode;
    }

    public void setVbatchcode(String vbatchcode) {
        this.vbatchcode = vbatchcode;
    }

    public Date getDproducedate() {
        return dproducedate;
    }

    public void setDproducedate(Date dproducedate) {
        this.dproducedate = dproducedate;
    }

    public Date getDvalidate() {
        return dvalidate;
    }

    public void setDvalidate(Date dvalidate) {
        this.dvalidate = dvalidate;
    }

    public String getPkBatchcode() {
        return pkBatchcode;
    }

    public void setPkBatchcode(String pkBatchcode) {
        this.pkBatchcode = pkBatchcode;
    }

    public String getVbdef48() {
        return vbdef48;
    }

    public void setVbdef48(String vbdef48) {
        this.vbdef48 = vbdef48;
    }

    public String getVbdef49() {
        return vbdef49;
    }

    public void setVbdef49(String vbdef49) {
        this.vbdef49 = vbdef49;
    }

    public String getVbdef50() {
        return vbdef50;
    }

    public void setVbdef50(String vbdef50) {
        this.vbdef50 = vbdef50;
    }

    public String getSkuState() {
        return skuState;
    }

    public void setSkuState(String skuState) {
        this.skuState = skuState;
    }

    public String getSkuFlag() {
        return skuFlag;
    }

    public void setSkuFlag(String skuFlag) {
        this.skuFlag = skuFlag;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public HashMap<String, Object> getAdditionMap() {
        return additionMap;
    }

    public void setAdditionMap(HashMap<String, Object> additionMap) {
        this.additionMap = additionMap;
    }

    public Date getOperatTime() {
        return operatTime;
    }

    public void setOperatTime(Date operatTime) {
        this.operatTime = operatTime;
    }

    public Date getDbizdate() {
        return dbizdate;
    }

    public void setDbizdate(Date dbizdate) {
        this.dbizdate = dbizdate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BaseInfoMap getCmaterialvid() {
        return cmaterialvid;
    }

    public void setCmaterialvid(BaseInfoMap cmaterialvid) {
        this.cmaterialvid = cmaterialvid;
    }

    public BaseInfoMap getCmaterialoid() {
        return cmaterialoid;
    }

    public void setCmaterialoid(BaseInfoMap cmaterialoid) {
        this.cmaterialoid = cmaterialoid;
    }

    public BaseInfoMap getCastunitid() {
        return castunitid;
    }

    public void setCastunitid(BaseInfoMap castunitid) {
        this.castunitid = castunitid;
    }

    public BaseInfoMap getCunitid() {
        return cunitid;
    }

    public void setCunitid(BaseInfoMap cunitid) {
        this.cunitid = cunitid;
    }

    public BaseInfoMap getVmanufacturer148() {
        return vmanufacturer148;
    }

    public void setVmanufacturer148(BaseInfoMap vmanufacturer148) {
        this.vmanufacturer148 = vmanufacturer148;
    }

    public BaseInfoMap getCproductorid() {
        return cproductorid;
    }

    public void setCproductorid(BaseInfoMap cproductorid) {
        this.cproductorid = cproductorid;
    }

    public BaseInfoMap getCwarehouseid() {
        return cwarehouseid;
    }

    public void setCwarehouseid(BaseInfoMap cwarehouseid) {
        this.cwarehouseid = cwarehouseid;
    }

    public String getSkuUnitCode() {
        return skuUnitCode;
    }

    public void setSkuUnitCode(String skuUnitCode) {
        this.skuUnitCode = skuUnitCode;
    }
}
